﻿<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title> - 百度ECHarts</title>
    <meta name="keywords" content="">
    <meta name="description" content="">

    <link rel="shortcut icon" href="favicon.ico">
    <link href="css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">

    <link href="css/animate.css" rel="stylesheet">
    <link href="css/style.css?v=4.1.0" rel="stylesheet">

</head>

    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-sm-6">
                <div class="col-xs-6">
                    <div class="panel padder-v item">
                        <div class="h1 text-info font-thin h1">169</div>
                        <span class="text-muted text-xs">现有确诊</span>
                        <div class="top text-right w-full">
                            <i class="fa fa-caret-down text-warning m-r-sm"></i>
                        </div>
                    </div>
                </div>
                <div class="col-xs-6">
                    <div class="panel padder-v item bg-info">
                        <div class="h1 text-fff font-thin h1">19</div>
                        <span class="text-muted text-xs">本土无症状</span>
                        <div class="top text-right w-full">
                            <i class="fa fa-caret-down text-warning m-r-sm"></i>
                        </div>
                    </div>
                </div>
                <div class="col-xs-6">
                    <div class="panel padder-v item bg-primary">
                        <div class="h1 text-fff font-thin h1">1583</div>
                        <span class="text-muted text-xs">累计确诊</span>
                        <div class="top text-right w-full">
                            <i class="fa fa-caret-down text-warning m-r-sm"></i>
                        </div>
                    </div>
                </div>
                <div class="col-xs-6">
                    <div class="panel padder-v item">
                        <div class="font-thin h1">9</div>
                        <span class="text-muted text-xs">累计死亡</span>
                        <div class="bottom text-left">
                            <i class="fa fa-caret-up text-warning m-l-sm"></i>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-sm-6">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>各区确诊人数所占百分比</h5>
                        <div class="ibox-tools">
<!--                            <a class="collapse-link">
                                <i class="fa fa-chevron-up"></i>
                            </a>
                            <a class="dropdown-toggle" data-toggle="dropdown" href="toPage?url=graph_flot.html">
                                <i class="fa fa-wrench"></i>
                            </a>
                            <ul class="dropdown-menu dropdown-user">
                                <li>
                                    <a href="toPage?url=graph_flot.html">选项1</a>
                                </li>
                                <li>
                                    <a href="toPage?url=graph_flot.html">选项2</a>
                                </li>
                            </ul>
                            <a class="close-link">
                                <i class="fa fa-times"></i>
                            </a>-->
                        </div>
                    </div>
                    <div class="ibox-content">
                        <div class="echarts" id="echarts-pie-chart"></div>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-6">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>北京疫情新增趋势</h5>
                        <div class="ibox-tools">
<!--                            <a class="collapse-link">
                                <i class="fa fa-chevron-up"></i>
                            </a>-->
                            <!--<a class="dropdown-toggle" data-toggle="dropdown" href="toPage?url=graph_flot.html">-->
                                <!--<i class="fa fa-wrench"></i>-->
                            <!--</a>-->
                            <!--<ul class="dropdown-menu dropdown-user">-->
                                <!--<li>-->
                                    <!--<a href="/toPage?url=graph_flot.html">选项1</a>-->
                                <!--</li>-->
                                <!--<li>-->
                                    <!--<a href="/toPage?url=graph_flot.html">选项2</a>-->
                                <!--</li>-->
                            <!--</ul>-->
<!--                            <a class="close-link">
                                <i class="fa fa-times"></i>
                            </a>-->
                        </div>
                    </div>
                    <div class="ibox-content">
                        <div class="echarts" id="echarts-line-chart"></div>
                    </div>
                </div>
            </div>
            <div class="col-sm-6">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>近期北京疫情疑似与重症病例</h5>
                        <div class="ibox-tools">
<!--                            <a class="collapse-link">
                                <i class="fa fa-chevron-up"></i>
                            </a>-->
                            <!--<a class="dropdown-toggle" data-toggle="dropdown" href="toPage?url=graph_flot.html">-->
                                <!--<i class="fa fa-wrench"></i>-->
                            <!--</a>-->
                            <!--<ul class="dropdown-menu dropdown-user">-->
                                <!--<li>-->
                                    <!--<a href="toPage?url=graph_flot.html">选项1</a>-->
                                <!--</li>-->
                                <!--<li>-->
                                    <!--<a href="toPage?url=graph_flot.html">选项2</a>-->
                                <!--</li>-->
                            <!--</ul>-->
<!--                            <a class="close-link">
                                <i class="fa fa-times"></i>
                            </a>-->
                        </div>
                    </div>
                    <div class="ibox-content">
                        <div class="echarts" id="echarts-bar-chart"></div>
                    </div>
                </div>
            </div>
        </div>
        
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>北京地图</h5>
                        <div class="ibox-tools">
<!--                            <a class="collapse-link">
                                <i class="fa fa-chevron-up"></i>
                            </a>
                            <a class="dropdown-toggle" data-toggle="dropdown" href="toPage?url=graph_flot.html">
                                <i class="fa fa-wrench"></i>
                            </a>
                            <ul class="dropdown-menu dropdown-user">
                                <li>
                                    <a href="toPage?url=graph_flot.html">选项1</a>
                                </li>
                                <li>
                                    <a href="toPage?url=graph_flot.html">选项2</a>
                                </li>
                            </ul>
                            <a class="close-link">
                                <i class="fa fa-times"></i>
                            </a>-->
                        </div>
                    </div>
                    <div class="ibox-content">
                        <div style="height:800px" id="echarts-map-chart"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
<script>
$(document).ready(function(){
    $.ajax({
        url:'Data',
        type:'get',
        dataType:'json',
        success:function(data){
/*                //方法中传入的参数data为后台获取的数据
for(i in data.data) //data.data指的是数组，数组里是8个对象，i为数组的索引
{
var tr;
tr='<td>'+data.data[i].name+'</td>'+'<td>'+data.data[i].startTime+'</td>'+'<td>'+data.data[i].is_true+'</td>'+'<td>'+data.data[i].device+'</td>'
$("#tabletest").append('<tr>'+tr+'</tr>')
}*/
            console.log(data);
        },
        error: function() {
            alert('请求失败 ');
        }
    })
})
</script>
    <!-- 全局js -->
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <script src="js/bootstrap.min.js?v=3.3.6"></script>



    <!-- ECharts -->
    <script src="js/plugins/echarts/echarts-all.js"></script>

    <!-- 自定义js -->
    <script src="js/content.js?v=1.0.0"></script>


    <!-- ECharts demo data -->
    <script src="js/demo/echarts-demo.js"></script>




</body>

</html>
